Espressif Systems /ESP32-S3 /MCPWM0 /CAP_CH1_CFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CAP_CH1_CFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CAP1_EN)CAP1_EN 0CAP1_MODE 0CAP1_PRESCALE0 (CAP1_IN_INVERT)CAP1_IN_INVERT 0 (CAP1_SW)CAP1_SW

Description

Capture channel 1 configuration and enable

Fields

CAP1_EN

When set, capture on channel 2 is enabled

CAP1_MODE

Edge of capture on channel 1 after prescaling. When bit0 is set to 1: enable capture on the negative edge, When bit1 is set to 1: enable capture on the positive edge.

CAP1_PRESCALE

Value of prescaling on possitive edge of CAP1. Prescale value = PWM_CAP1_PRESCALE + 1

CAP1_IN_INVERT

when set, CAP1 form GPIO matrix is inverted before prescale

CAP1_SW

Write 1 will trigger a software forced capture on channel 1

Links

() ()